package com.md.api.service;

import com.md.api.entity.*;
import com.md.api.entity.dto.ComposeCommitDto;
import com.md.api.entity.dto.ComposeQueryDto;
import com.md.api.entity.dto.SkuDetailDto;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author liujie
 * @ClassName UserSevice
 * @Date 2022/11/9 11:34
 **/
public interface CartSevice {

    HttpResult addShoppingCart(HttpServletRequest request, ShoppingCart shoppingCart);

    HttpResult myCart(HttpServletRequest request, ComposeQueryDto qto);

    HttpResult removeProduct(HttpServletRequest request, ComposeCommitDto qto);

    HttpResult resetProductCount(HttpServletRequest request, ComposeCommitDto qto);
}
